package com.wzbc.video.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.wzbc.video.entity.LessonMessage;
import com.wzbc.video.res.LessonMessageRes;
import com.wzbc.video.res.LessonRes;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface LessonMessageMapper extends BaseMapper<LessonMessage> {
    List<LessonMessageRes> getMessages(@Param(Constants.WRAPPER) Wrapper<LessonMessageRes> wrapper);
}
